package com.example.week9.domain;

import java.util.ArrayList;
import java.util.List;

public class MyPage<E> extends ArrayList<E> {
    private long total;
    private List<Book> bookArrayList;


    public MyPage(List<Book> bookArrayList) {
        this.bookArrayList = bookArrayList;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<Book> getBookArrayList() {
        return bookArrayList;
    }

    public void setBookArrayList(List<Book> bookArrayList) {
        this.bookArrayList = bookArrayList;
    }
}
